From d4193af0d301dea7f04cba9fd2a7f57c7ef9460e Mon Sep 17 00:00:00 2001 From: WebTogz Date: Mon, 9 Nov 2015 20:39:44 +0100 Subject: [PATCH] Update guide.md Add a comment to know how to pass arguments via Cargo --- src/doc/guide.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/doc/guide.md b/src/doc/guide.md index 03f0d4df2..31eb139ab 100644 --- a/src/doc/guide.md +++ b/src/doc/guide.md @@ -92,6 +92,8 @@ class="s1"> Fresh hello_world v0.1.0 (file:///path/to/project/hello_w class="s1"> Running `target/debug/hello_world` Hello, world! +If you want to pass some arguments to your program, please use `cargo run -- first_argument second_argument`. + You'll now notice a new file, `Cargo.lock`. It contains information about our dependencies. Since we don't have any yet, it's not very interesting. -- 2.30.2